package com.ruoyi.guanbao.firpt.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 信用减值损失（应收账款_坏账准备）
 * </p>
 *
 * @author zhangzk
 * @since 2025-08-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("GB_REPO_XYJZ_YSZK_HZZB")
@ApiModel(value="GbRepoXyjzYszkHzzb对象", description="信用减值损失（应收账款_坏账准备）")
public class GbRepoXyjzYszkHzzb extends Model<GbRepoXyjzYszkHzzb> {

    private static final long serialVersionUID = 1L;

    @TableField("ID")
    private String id;

    @ApiModelProperty(value = "会计期间")
    @TableField("YSHZ_PERIOD")
    private String yshzPeriod;

    @ApiModelProperty(value = "公司编码")
    @TableField("YSHZ_COMPANY_CODE")
    private String yshzCompanyCode;

    @ApiModelProperty(value = "公司名称")
    @TableField("YSHZ_COMPANY_NAME")
    private String yshzCompanyName;

    @ApiModelProperty(value = "应收客户编码")
    @TableField("YSHZ_CUSTOMER_CODE")
    private String yshzCustomerCode;

    @ApiModelProperty(value = "应收客户名称")
    @TableField("YSHZ_CUSTOMER_NAME")
    private String yshzCustomerName;

    @ApiModelProperty(value = "坏账准备_期末")
    @TableField("YSHZ_QMYEJF")
    private BigDecimal yshzQmyejf;

    @ApiModelProperty(value = "坏账准备_信用期内")
    @TableField("YSHZ_XYQN")
    private BigDecimal yshzXyqn;

    @ApiModelProperty(value = "坏账准备_一年内")
    @TableField("YSHZ_ONE_YEARS")
    private BigDecimal yshzOneYears;

    @ApiModelProperty(value = "坏账准备_一到两年")
    @TableField("YSHZ_ONE_TWOYEARS")
    private BigDecimal yshzOneTwoyears;

    @ApiModelProperty(value = "坏账准备_两到三年")
    @TableField("YSHZ_TWO_THREEYEARS")
    private BigDecimal yshzTwoThreeyears;

    @ApiModelProperty(value = "坏账准备_三到四年")
    @TableField("YSHZ_THREE_FOURYEARS")
    private BigDecimal yshzThreeFouryears;

    @ApiModelProperty(value = "坏账准备_四到五年")
    @TableField("YSHZ_FOUR_FIVEYEARS")
    private BigDecimal yshzFourFiveyears;

    @ApiModelProperty(value = "坏账准备_五年以上")
    @TableField("YSHZ_FIVE_OLDYEARS")
    private BigDecimal yshzFiveOldyears;

    @ApiModelProperty(value = "坏账准备_独立计提余额")
    @TableField("YSHZ_DLJTYE")
    private BigDecimal yshzDljtye;

    @ApiModelProperty(value = "坏账准备_转回准备金额")
    @TableField("YSHZ_ZHZBJE")
    private BigDecimal yshzZhzbje;

    @ApiModelProperty(value = "类型")
    @TableField("YSHZ_TYPE")
    private String yshzType;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATED_BY")
    private String createdBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATION_TIME")
    private LocalDateTime creationTime;

    @ApiModelProperty(value = "修改人")
    @TableField("MODIFIED_BY")
    private String modifiedBy;

    @ApiModelProperty(value = "修改时间")
    @TableField("MODIFICATION_TIME")
    private LocalDateTime modificationTime;

    @ApiModelProperty(value = "1生效；2删除")
    @TableField("ISDEL")
    private String isdel;

    @ApiModelProperty(value = "通路")
    @TableField("YSHZ_TONGLU")
    private String yshzTonglu;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
